package com.mingqijia.gassafety.db.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wanghai
 * @since 2022-03-15
 */
@Data
@TableName("user")
@ApiModel(value="User对象", description="")
public class User {

    private static final long serialVersionUID=1L;

    @TableId(value = "Id", type = IdType.AUTO)
    private Integer id;

    @TableField("UserName")
    private String userName;

    @TableField("PasswordHash")
    private String passwordHash;

    @TableField("PhoneNumber")
    private String phoneNumber;

    @TableField("Email")
    private String email;

    @TableField("Nick")
    private String nick;

    @TableField("Role")
    private Integer role;

    @TableField("DepartmentId")
    private Integer departmentId;

    @TableField("Path")
    private String path;


}
